
#include "register/tilingdata_base.h"

namespace optiling {
BEGIN_TILING_DATA_DEF(ScatterElementsTilingData)
    TILING_DATA_FIELD_DEF(uint32_t, varlength);
    TILING_DATA_FIELD_DEF(uint32_t, indiceslength);
    TILING_DATA_FIELD_DEF(uint32_t, updatelength);
    TILING_DATA_FIELD_DEF(int32_t, reduce);
    TILING_DATA_FIELD_DEF(int32_t, axis);
    TILING_DATA_FIELD_DEF(int32_t, dimnum);
    TILING_DATA_FIELD_DEF(int32_t, varlastdimnum);
    TILING_DATA_FIELD_DEF(int32_t, indexlastdimnum);
    TILING_DATA_FIELD_DEF(int32_t, updatelastdimnum);
    TILING_DATA_FIELD_DEF_ARR(int32_t, 64, varshape);
    TILING_DATA_FIELD_DEF_ARR(int32_t, 64, indexshape);
    TILING_DATA_FIELD_DEF_ARR(int32_t, 64, updateshape);
    TILING_DATA_FIELD_DEF_ARR(int32_t, 64, varshapeAccm);
    TILING_DATA_FIELD_DEF_ARR(int32_t, 64, indexshapeAccm);
    TILING_DATA_FIELD_DEF_ARR(int32_t, 64, updateshapeAccm);
END_TILING_DATA_DEF;

REGISTER_TILING_DATA_CLASS(ScatterElements, ScatterElementsTilingData)
}
